package com.baidu.www;
class OuterClass{
    public int data1=1;
    public int data2=2;
    public int data3=3;
    class InnerClass{

        public int data1=100;
        private int data5=5;
        public static int data6=6;

         public void test2(){
            System.out.println("InnerClass");
             System.out.println(this.data1);
             System.out.println(OuterClass.this.data1);
             System.out.println(data2);
             System.out.println(data3);
             System.out.println(data5);
             System.out.println(data6);
         }

    }
public void test1(){
        System.out.println("OuterClass");
    }
}
public class Text2 {
    public static void main(String[] args) {
        OuterClass out=new OuterClass();
        OuterClass.InnerClass innerClass=out.new InnerClass();
        OuterClass.InnerClass innerClass1=new OuterClass().new InnerClass();
        innerClass.test2();
    }
}
